package inventory.service;

import com.baomidou.mybatisplus.service.IService;
import inventory.entity.SaleRequest;
import inventory.entity.po.SaleRequestPo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sxt
 * @since 2019-11-06
 */
public interface SaleRequestService extends IService<SaleRequest> {

    List<SaleRequest> addSaleRequest(List<SaleRequest>saleRequests);


    List<SaleRequest> querySaleRequestsByCondition(Map<String, Object> columnMap);

    List<SaleRequestPo> querySaleRequestByUserId(String userId);

    List<SaleRequestPo> querySaleRequestByRoleId(String roleId);


}
